<div class="row-fluid">
    <div id="content" class="row-fluid">
        <div class="box span12">
            <div class="box-header well">
                <h2>Lập phiếu nhập sách</h2>
            </div>
            
            <div class="box-content">
                <div class="ajax-loaders" style="display: none;"></div>
                
                <hr />
                <div class="row-fluid">
                    <div class="span3 form-phieunhap">
                        <form class="form-horizontal" action="" method="post">
                            <div class="control-group">
                                <div class="control-label">Mã phiếu:</div>
                                <div class="controls">
                                    <input type="text" class="input-small" readonly="true" name="MaPhieuNhapSach" value="<?php echo $this->lastId;?>" />
                                </div>
                            </div>
                            <div class="control-group">
                                <div class="control-label">Ngày nhập:</div>
                                <div class="controls">
                                    <input type="text" class="input-small" readonly="true" name="NgayNhap" value="<?php echo date("d/m/Y");?>" />
                                </div>
                            </div>
                        </form>
                    </div>
                    
                    <div class="span9">
                        <form action="" method="post">
                            <fieldset class="well">
                                <h4>Tra cứu nhanh</h4>
                                <div class="controls">
                                    <input type="text" class="input-large" name="TenSach" placeholder="Tên sách" />
                                     <select name="MaTheLoai">
                                        <option value="">Chọn thể loại...</option>
                                        <?php foreach($this->theloai as $theloai) { ?>
                                        <option value="<?php echo $theloai->MaTheLoaiSach;?>"><?php echo $theloai->TenTheLoai;?></option>
                                        <?php } ?>
                                    </select> &nbsp;
                                    
                                    <input style="vertical-align: text-bottom;" class="btn" type="submit" name="submit" value="Tìm kiếm" /> &nbsp;
                                    
                                    <input type="text" placeholder="Mã sách" class="input-small" readonly="true" />
                                </div>
                            </fieldset>
                        </form>
                    </div>
                    
                </div>
                <hr />
                
                <div class="table-content">
                    <table class="table table-striped">
                        <thead>
                            <tr>
                                <th>STT</th>
                                <th>Mã sách</th>
                                <th>Tên sách</th>
                                <th>Thể loại</th>
                                <th>Tác giả</th>
                                <th>Số lượng tồn</th>
                                <th>Số lượng nhập</th>
                            </tr>
                        </thead>
                        
                        <tbody>
                            
                        </tbody>
                        
                        <tfoot>
                            <tr>
                                <td colspan="7"><a href="#"><i class="icon icon-color icon-arrowthick-s"></i></a></td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>	
</div>